import type { PageModuleTypes } from '../types/index';

/** 商品分包 */
const modules: PageModuleTypes[] = [
  {
    path: 'chooseProducts',
    name: 'chooseProducts',
    navigationStyle: 'custom',
    navigationBarTitleText: '添加产品',
    backgroundColor: '#f5f5f5',
    enablePullDownRefresh: true,
  },
  {
    path: 'selectedProductsList',
    name: 'selectedProductsList',
    navigationStyle: 'custom',
    navigationBarTitleText: '商品已选列表',
    backgroundColor: '#f5f5f5',
    enablePullDownRefresh: true,
  },
  {
    path: 'memberWelfareCenter',
    name: 'memberWelfareCenter',
    navigationStyle: 'custom',
    navigationBarTitleText: '会员中心',
    navigationBarTextStyle: 'white',
    children: [
      {
        path: 'moreMemberWelfareProduct',
        name: 'moreMemberWelfareProduct',
        navigationStyle: 'custom',
        navigationBarTitleText: '更多会员福利产品',
      }
    ]
  }
];

export default modules;
